package com.dingding.common.core.beans;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: IntegralActivity
 * @Description: 积分活动表
 * @author yuHaiQing
 * @date 2016年4月1日 上午9:42:15
 */

@SuppressWarnings("serial")
public class IntegralActivity implements Serializable {

	private String integralActivityId;	//主键Id
	private String activityName;		//活动名称
	private Date activityStartDate;		//生效时间
	private Date activityEndDate;		//结束时间
	private Integer presentRole;		//优惠券赠送角色(1:乘客  2:车主  3:乘客和车主)
	private Integer presentCondition;	//优惠赠送条件(1:完成订单  2:自动取消订单)
	private Integer timeLimit;			//每人参加次数
	private Integer isFrequencyLimit ;// 是否受次数限制
	private Integer limitFailureType;//限制失效类型(1:每日失效  2:直到活动结束失效)
	private Integer activityStatus;		//状态
	
	
	
	public IntegralActivity() {
		super();
	}
	
	public IntegralActivity(String integralActivityId, String activityName, Date activityStartDate,
			Date activityEndDate, Integer presentRole, Integer presentCondition, Integer timeLimit,
			Integer isFrequencyLimit, Integer limitFailureType, Integer activityStatus) {
		super();
		this.integralActivityId = integralActivityId;
		this.activityName = activityName;
		this.activityStartDate = activityStartDate;
		this.activityEndDate = activityEndDate;
		this.presentRole = presentRole;
		this.presentCondition = presentCondition;
		this.timeLimit = timeLimit;
		this.isFrequencyLimit = isFrequencyLimit;
		this.limitFailureType = limitFailureType;
		this.activityStatus = activityStatus;
	}

	public String getIntegralActivityId() {
		return integralActivityId;
	}
	public void setIntegralActivityId(String integralActivityId) {
		this.integralActivityId = integralActivityId;
	}
	public String getActivityName() {
		return activityName;
	}
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}
	public Date getActivityStartDate() {
		return activityStartDate;
	}
	public void setActivityStartDate(Date activityStartDate) {
		this.activityStartDate = activityStartDate;
	}
	public Date getActivityEndDate() {
		return activityEndDate;
	}
	public void setActivityEndDate(Date activityEndDate) {
		this.activityEndDate = activityEndDate;
	}
	public Integer getPresentRole() {
		return presentRole;
	}
	public void setPresentRole(Integer presentRole) {
		this.presentRole = presentRole;
	}
	public Integer getPresentCondition() {
		return presentCondition;
	}
	public void setPresentCondition(Integer presentCondition) {
		this.presentCondition = presentCondition;
	}
	public Integer getTimeLimit() {
		return timeLimit;
	}
	public void setTimeLimit(Integer timeLimit) {
		this.timeLimit = timeLimit;
	}
	public Integer getActivityStatus() {
		return activityStatus;
	}
	public void setActivityStatus(Integer activityStatus) {
		this.activityStatus = activityStatus;
	}

	public Integer getIsFrequencyLimit() {
		return isFrequencyLimit;
	}

	public void setIsFrequencyLimit(Integer isFrequencyLimit) {
		this.isFrequencyLimit = isFrequencyLimit;
	}

	public Integer getLimitFailureType() {
		return limitFailureType;
	}

	public void setLimitFailureType(Integer limitFailureType) {
		this.limitFailureType = limitFailureType;
	}
	
}
